Reduce complexity of simplify filter (#1149)
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Mon, 31 Jul 2023 13:26:05 +0000 (07:26 -0600)
committerGitHub <noreply@github.com>
Mon, 31 Jul 2023 13:26:05 +0000 (07:26 -0600)
commitba108534db81798d2284b1b5fb7f8d8566b9aefa
treeeb43c4ae0b052be0891004ab7cba1038701bd7c7
parent41e470225aebd2335757a873bd210da159f700db
Reduce complexity of simplify filter (#1149)

* fix bugs with simplify filter

1. With the length option the last point deleted took the total error
over the specified limit.

2. When computing the total error if another point is deleted it was
possible to refer to an xte record that needed to be updated due to
the deletion of one of its neighbors.

* wip on reduced complexity simplify filter.

* mimic ineheitence of new_trkseg flag in simplify filter.

* cleanup simplify header.

* work around apparent Qt5 QMap bug.

* fix shadowing issues.

* astyle

* correct spelling.

* kill Waypoint route_priority.
arcdist.cc
defs.h
route.cc
smplrout.cc
smplrout.h
waypt.cc